module.exports = Behavior({

  data: {
    name: 'lisi',
    myMax: 0
  },
  properties: {
    max: {
      type: Number,
      value: 0
    }
  },
  observers: {
    'max': function(max){
      this.setData({
        myMax: max
      })
    }
  },

  methods: {
    sayHello(){
      console.log('hello');
    }
  },
  lifetimes: {
    created(){
      console.log('created');
    }
  }

})


